package cn.edu.ujs.coor.repository.project;

import cn.edu.ujs.coor.repository.BaseMapper;
import cn.edu.ujs.coor.request.project.ProjectPageRequest;
import cn.edu.ujs.coor.response.ProjectResponse;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface ProjectMapper extends BaseMapper<ProjectResponse> {

    /**
     * 参与的项目
     * @param request
     * @return
     */
    Page<ProjectResponse> pageByActor (ProjectPageRequest request, RowBounds bounds);
}